﻿using Microsoft.SharePoint.Utilities;
using FortisBC.Internet.Core.Utilities;

namespace FortisBC.EnergyEfficiencyCalculator
{
    public class ClientSideArtifacts : FortisBC.Internet.Core.Utilities.ClientSideArtifacts
    {

        #region Energy Efficiency Calculator

        /// <summary>
        /// Calculator: artifact registration key
        /// </summary>
        public const string EnergyEfficiencyCalculatorKey = "EnergyEfficiencyCalculator";
        
        /// <summary>
        /// Calculator: CSS file URL
        /// </summary>
        public static string EnergyEfficiencyCalculatorCssFile
        {
            get
            {
                return SPUtility.MakeBrowserCacheSafeLayoutsUrl("Styles/Themable/EnergyEfficiencyCalculator/Calculator.css", false);
            }
        }

        /// <summary>
        /// Calculator: script file URL
        /// </summary>
        public static string EnergyEfficiencyCalculatorScriptFile
        {
            get
            {
                return "EnergyEfficiencyCalculator/Calculator.js";
            }
        }

        /// <summary>
        /// Calculator: jquery.calculation script file URL
        /// </summary>
        public static string JQueryCalculationScriptFile
        {
            get
            {
                return "EnergyEfficiencyCalculator/jquery.calculation.js";
            }
        }


        #endregion
    }
}